Skip to content

Conversation

bkioshn
Copy link
Contributor

@bkioshn bkioshn commented Sep 25, 2025

Description

Fix libc header not found when build wasm-wasip2 for module that use catlib rbac-registration (ARM architect)

Additional Fix

  • Fix linter
  • Update dependencies
  • Implement to json for problem report that will be store in the database

Example

{
   "context":"Decoding and validating Cip509",
   "entries":[
      {
         "description":"Unable to decode role payment key: Error { err: Message, pos: None, msg: \"Failed to decode \\\"u16\\\" in PaymentKey in RoleData: unexpected type i8 at position 501: expected u16\" }",
         "kind":"Other",
         "msg":"Decoding role data"
      },
      {
         "description":"Missing payment key in role0",
         "kind":"Other",
         "msg":"Role data payment key validation"
      },
      {
         "description":"The public key cannot be used at 0 index. Role 0 requires a certificate and other roles must set 0 public key to undefined if needed.",
         "kind":"Other",
         "msg":"Role data validation"
      }
   ]
}

Related Issue(s)

Closes #555

Please confirm the following checks

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream module

@bkioshn bkioshn self-assigned this Sep 25, 2025
@bkioshn bkioshn requested a review from stevenj as a code owner September 25, 2025 09:20
@bkioshn bkioshn added this to Catalyst Sep 25, 2025
@bkioshn bkioshn added the squad: hermetics Hermes Backend, System Development & Integration Team label Sep 25, 2025
@bkioshn bkioshn changed the title fix: libc header not found when build wasm-wasip2 for module that use catlib rbac-registration (ARM architect) fix(athena): libc header not found when build wasm-wasip2 for module that use catlib rbac-registration (ARM architect) Sep 25, 2025
@bkioshn bkioshn moved this from New to 👀 In review in Catalyst Sep 25, 2025
@bkioshn bkioshn added the review me PR is ready for review label Oct 7, 2025
Signed-off-by: bkioshn <[email protected]>
rafal-ch
rafal-ch previously approved these changes Oct 7, 2025
Copy link
Contributor

@rafal-ch rafal-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
With just a few nits.

rafal-ch
rafal-ch previously approved these changes Oct 8, 2025
Signed-off-by: bkioshn <[email protected]>
@bkioshn bkioshn merged commit f1b22f6 into main Oct 8, 2025
45 checks passed
@bkioshn bkioshn deleted the fix/libc-header-not-found-wasm-wasip2-arm branch October 8, 2025 08:46
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Catalyst Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review me PR is ready for review squad: hermetics Hermes Backend, System Development & Integration Team
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

[Bug]: libc header not found when build wasm-wasip2 for module that use catlib rbac-registration (ARM architect)
2 participants